package cn.kgc.tushu.entity;

import java.io.Serializable;

/**
 *  创建用户类：属性有：用户名，密码；
 */
public class User implements Serializable {
    private String name;    //用户名
    private String pwd;     //密码

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public User(String name, String pwd) {
        this.name = name;
        this.pwd = pwd;
    }

    public User() {
    }
}
